UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

All system command files must have mode 0755 or less permissive.


Overview

Finding ID Version Rule ID IA Controls Severity
RHEL-06-000047 RHEL-06-000047 RHEL-06-000047_rule Medium
Description
System binaries are executed by privileged users, as well as system services, and restrictive permissions are necessary to ensure execution of these programs cannot be co-opted.
STIG Date
Red Hat Enterprise Linux 6 Security Technical Implementation Guide 2013-02-05

Details

Check Text ( C-RHEL-06-000047_chk )
To find system executables that are group-writable or world-writable, run the following command for each directory [DIR] which contains system executables:

$ find [DIR] -perm /022


If any system executables are found to be group or world writable, this is a finding.
Fix Text (F-RHEL-06-000047_fix)
System executables are stored in the following directories by default:

/bin
/usr/bin
/usr/local/bin
/sbin
/usr/sbin
/usr/local/sbin

All files in these directories should not be group-writable or world-writable. If any file [FILE] in these directories is found to be group-writable or world-writeable, correct its permission with the following command:

# chmod go-w [FILE]